package com.ruoyi.cyinfo.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 签到对象 info_checkin
 * 
 * @author ruoyi
 * @date 2024-03-10
 */
public class InfoCheckin extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    private Long sysUserId;

    /** 签到日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "签到日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkinData;

    /** 已连续签到天数 */
    @Excel(name = "已连续签到天数")
    private Integer checkinCount;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSysUserId(Long sysUserId) 
    {
        this.sysUserId = sysUserId;
    }

    public Long getSysUserId() 
    {
        return sysUserId;
    }
    public void setCheckinData(Date checkinData) 
    {
        this.checkinData = checkinData;
    }

    public Date getCheckinData() 
    {
        return checkinData;
    }
    public void setCheckinCount(Integer checkinCount) 
    {
        this.checkinCount = checkinCount;
    }

    public Integer getCheckinCount() 
    {
        return checkinCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sysUserId", getSysUserId())
            .append("checkinData", getCheckinData())
            .append("checkinCount", getCheckinCount())
            .toString();
    }
}
